package com.aaa.project.controller;


import com.aaa.project.service.ITbHeadNavService;
import com.aaa.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-01-06
 */
@RestController
@RequestMapping("/tb-head-nav")
public class TbHeadNavController {
    @Resource
    private ITbHeadNavService iTbHeadNavService;
    @GetMapping("headNavigation")
    public Result headNavigation(){
        return new Result(iTbHeadNavService.find());
    }

}

